from django.urls import path
from . import views  # 从当前目录导入views

urlpatterns = [
    path('hello/', views.hello, name='hello'),
    path('welcome/', views.welcome, name='welcome'),  # 新增
    path('', views.student_list, name='student_list'),
    path('add/', views.student_add, name='student_add'),
    path('<int:student_id>/edit/', views.student_edit, name='student_edit'),
    path('<int:student_id>/delete/', views.student_delete, name='student_delete'),
]